home *** CD-ROM | disk | FTP | other *** search
/ Chip: Special Tips & Tricks for Windows 95 / Chip Wintips.iso / sterown / grafika / k7548 / util / einstall.inf < prev    next >
Text File  |  1996-09-11  |  7KB  |  291 lines

  1. DefineVariables
  2. Number [ErrCount]
  3. Directory [windir]
  4. Directory [winsdir]
  5. Logical [EnKeyb]
  6. Logical [NetAvail]
  7. Logical [MathPres]
  8. Logical [CDAvail]
  9. Text [DispType]
  10. Number [XMSAvail]
  11. Number [ExtmemPagesActive]
  12. Number [ExtmemPagesAvail]
  13. Number [ExtMemAvail]
  14. Number [ExtMemPres]
  15. Number [ExpMempgavail]
  16. Number [ExpMempgactive]
  17. Text [osver]
  18. Text [DosVer]
  19. Text [EmsVer]
  20. Text [ProdExecutable]
  21. Text [InstDir]
  22. TextArray [Array1]
  23. EndDefineVariables
  24. [EnKeyb] := NoCharacter
  25. [NetAvail] := NoCharacter
  26. [MathPres] := NoCharacter
  27. [CDAvail] := NoCharacter
  28. Do SetupDisplay
  29. Do CheckHardware
  30. if [errcount] > 1
  31. Dialog UseHeader "Encountered Some Problems" LightGrayOnBlue
  32. Our installation has encounterd the following problems,
  33. you can continue to install or exit installation.
  34. [Array1][1]
  35. [Array1][2]
  36. [Array1][3]
  37. [Array1][4]
  38. [Array1][5]
  39. [Array1][6]
  40. [Array1][7]
  41. EndDialog
  42. endif
  43.  
  44. :start
  45. GetMenuChoice UseHeader "Cirrus Logic GD7548 DOS Util. & Driver Install 1.20"
  46. VGA Utilities
  47. AutoCAD 386 v11 Multi-res Multi-color
  48. AutoCAD 386 v12 Multi-res Multi-color
  49. AutoDesk 3D Studio v1.0,2.0 Multi-res Multi-color
  50. AutoShade with RenderMan v2.0 Multi-res Multi-color
  51. Exit Installation
  52. EndGetMenuChoice
  53. :start
  54. InCase Choice is
  55. =1: Do InstallUtil
  56. =2: Do Installa11
  57. =3: Do Installa12
  58. =4: Do Install3d
  59. =5: Do Installshade
  60. =6: SoLong
  61. EndIncase
  62. goto start
  63. Procedure SetupDisplay
  64. ;;SetBackGroundCharTO b0
  65. SetBackGroundCharTO b1
  66. ;;SetPopupAttrTo LightGrayOnBlue
  67. SetPopupAttrTo WhiteOnGreen
  68. EndProcedure
  69. ;; acad 11
  70. Procedure Installa11
  71. DetermineInstallationDrive
  72. DetermineInstallationDirectory InstallationDrive:\
  73. ;;QueAllFiles
  74.  
  75. QueFiles
  76.  DLDEXT.RLM
  77.  FONT0715.DLD
  78.  FONT0814.DLD
  79.  FONT1220.DLD
  80.  TURBODLD.HLP
  81.  RCTURBOC.EXP
  82.  READ.ME
  83. EndQueFiles
  84.  
  85. GetQuedFiles ShowJustOne
  86.  
  87. DeleteFiles from [InstallationDirectory] Quietly
  88.   fastacad.bat
  89. EndDeleteFiles
  90.  
  91. CreateFile [InstallationDirectory]\fastacad.bat
  92. AppendFile [InstallationDirectory]\fastacad.bat
  93.   SET DLDCFG=[InstallationDirectory]
  94.   SET DSPADI=[InstallationDirectory]\RCTURBOC.EXP
  95.   SET RDPADI=[InstallationDirectory]\RCTURBOC.EXP
  96.   SET RCPADI=[InstallationDirectory]\RCTURBOC.EXP
  97. EndAppendFile
  98.  
  99. Dialog    WhiteOnRed
  100.   1.  Run FASTACAD.BAT in [InstallationDirectory] to set the environment.
  101.   2.  Reconfigure your ACAD video display according to ACAD manual.
  102. EndDialog
  103. EndProcedure
  104.  
  105. ;; acad 12
  106. Procedure Installa12
  107. DetermineInstallationDrive
  108. Dialog    WhiteOnRed
  109.  We recommend that you install TURBODLD into the AutoCAD DRV subdirectory.
  110.  To do that, on the next screen, enter the directory name where you have 
  111.  installed the AutoCAD application. 
  112.  
  113. EndDialog
  114.  
  115. DetermineInstallationDirectory InstallationDrive:\  NoCreate
  116.  
  117. ;;If DirectoryIsEmpty   [InstallationDirectory]
  118. ;;If FileExists  [InstallationDirectory]\*.exp
  119. If DirectoryExists  [InstallationDirectory]\DRV
  120. ;;QueAllFiles
  121. [InstallationDirectory] := [InstallationDirectory]\DRV
  122. QueFiles    [InstallationDirectory]
  123.  DLDEXT.RLM
  124.  FONT0715.DLD
  125.  FONT0814.DLD
  126.  FONT1220.DLD
  127.  TURBODLD.HLP
  128.  RCTURBOC.EXP
  129.  READ.ME
  130. EndQueFiles
  131. GetQuedFiles ShowJustOne
  132. Dialog    WhiteOnRed
  133.    Reconfigure your video display by running ACADR12.BAT. (ie. C:\>acadr12 -r)
  134.    ACADR12.BAT was created after the ACAD installation.  
  135. EndDialog
  136. else
  137. ;;QueAllFiles
  138. QueFiles    [InstallationDirectory]
  139.  DLDEXT.RLM
  140.  FONT0715.DLD
  141.  FONT0814.DLD
  142.  FONT1220.DLD
  143.  TURBODLD.HLP
  144.  RCTURBOC.EXP
  145.  READ.ME
  146. EndQueFiles
  147. GetQuedFiles ShowJustOne
  148. Dialog    WhiteOnRed
  149.    1. You must edit the ACADDRV environment variables in ACADR12.BAT.
  150.  
  151.         e.g.   Set ACADDRV=C:\ACAD\DRV;[InstallationDirectory]
  152.  
  153.    2. Reconfigure your video display by running "acadr12 -r" according to the 
  154.       AutoCAD user's guide.
  155. EndDialog
  156. Endif
  157.  
  158. EndProcedure
  159. ;; end installa12
  160.  
  161. ;; 3D studio
  162. Procedure Install3d
  163. DetermineInstallationDrive
  164. DetermineInstallationDirectory InstallationDrive:\
  165. ;;QueAllFiles
  166. QueFiles
  167.  DLDEXT.RLM
  168.  FONT0715.DLD
  169.  FONT0814.DLD
  170.  FONT1220.DLD
  171.  TURBODLD.HLP
  172.  RCTURBOC.EXP
  173.  READ.ME
  174. EndQueFiles
  175. GetQuedFiles ShowJustOne
  176.  
  177. DeleteFiles from [InstallationDirectory] Quietly
  178.   pana3ds.bat
  179. EndDeleteFiles
  180.  
  181. CreateFile [InstallationDirectory]\fastacad.bat
  182. AppendFile [InstallationDirectory]\fastacad.bat
  183.   SET DLDCFG=[InstallationDirectory]
  184.   SET RCPADI=[InstallationDirectory]\RCTURBOC.EXP
  185. EndAppendFile
  186.  
  187. Dialog    WhiteOnRed
  188.   1.  Run PANA3DS.BAT in [InstallationDirectory] to set the environment.
  189.   2.  You must edit the 3DS.SET according to the 3D user's guide.
  190.   3.  Delete 3DADI.CFG in 3DS directory and run 3DS in configuration mode.
  191. EndDialog
  192. EndProcedure
  193.  
  194.  
  195. ;; autoshade 2
  196. Procedure Installshade
  197. DetermineInstallationDrive
  198. DetermineInstallationDirectory InstallationDrive:\
  199. ;;QueAllFiles
  200. QueFiles
  201.  DLDEXT.RLM
  202.  FONT0715.DLD
  203.  FONT0814.DLD
  204.  FONT1220.DLD
  205.  TURBODLD.HLP
  206.  RCTURBOC.EXP
  207.  READ.ME
  208. EndQueFiles
  209. GetQuedFiles ShowJustOne
  210.  
  211. DeleteFiles from [InstallationDirectory] Quietly
  212.   fastacad.bat
  213. EndDeleteFiles
  214.  
  215. CreateFile [InstallationDirectory]\fastacad.bat
  216. AppendFile [InstallationDirectory]\fastacad.bat
  217.   SET DLDCFG=[InstallationDirectory]
  218.   SET DSPADI=[InstallationDirectory]\RCTURBOC.EXP
  219.   SET RDPADI=[InstallationDirectory]\RCTURBOC.EXP
  220.   SET RCPADI=[InstallationDirectory]\RCTURBOC.EXP
  221. EndAppendFile
  222.  
  223. Dialog    WhiteOnRed
  224.   1.  Run FASTACAD.BAT in [InstallationDirectory] to set the environment.
  225.   2.  Reconfigure AutoShade by typing "SHADE2 -r" assuming that SHADE2 is
  226.       a batch file that was created by AutoShade installation.
  227. EndDialog
  228. EndProcedure
  229.  
  230. ;; Install VGA Utilities
  231. Procedure InstallUtil
  232. DetermineInstallationDrive
  233. DetermineInstallationDirectory InstallationDrive:\
  234. QueFiles
  235.  CLMODE.EXE
  236.  CLMODE.LS
  237.  CLMODE.IT
  238.  CLMODE.FR
  239.  CLMODE.ES
  240.  CLMODE.EN
  241.  CLMODE.DE
  242.  CLMODE.SV
  243.  CLMODE.NL
  244.  CLMODE.BR
  245.  CLMODE.DA
  246.  CLMODE.FI
  247.  CLMODE.NR
  248.  CLMODE.PR
  249.  TIMINGS.DAT
  250.  CLMODE.INI
  251.  UCLMODE.EN
  252.  LANG.DAT
  253. EndQueFiles
  254. GetQuedFiles ShowJustOne
  255.  
  256. ;; Rename Japanese UCLMODE.* to JCLMODE.*
  257.  
  258. ;;DeleteFiles from  [InstallationDirectory] Quietly
  259. ;; JCLMODE.*
  260. ;;EndDeleteFiles
  261.  
  262. ;;RenameFile  [InstallationDirectory]\UCLMODE.EXE to JCLMODE.EXE
  263. ;;RenameFile  [InstallationDirectory]\UCLMODE.JA to JCLMODE.JA
  264.  
  265. EndProcedure
  266.  
  267. Procedure CheckHardware
  268. [Number3] := 1
  269. if VGA
  270. [DispType] := VGA
  271. endif
  272. if  [DispType] = BlankString
  273. [Array1][[number3]] := Your Display adapter must be EGA or better.
  274. IncrementNumber [number3]
  275. endif
  276. [windir] := [WindowsDirectory]
  277. [winsdir] := [WindowsSystemDirectory]
  278. [ExtmemPagesActive] := ExtendedMemoryPagesActive
  279. [ExtmemPagesAvail] := ExtendedMemoryPagesAvailable
  280. [ExtMemAvail] := ExtendedMemoryAvailable
  281. [ExtMemPres] := ExtendedMemoryPresent
  282. [ExpMempgAvail] := ExpandedMemoryPagesAvailable
  283. [ExpMempgActive] := ExpandedMemoryPagesActive
  284. [osver] := OSVersion
  285. [DosVer] := DOSVersion
  286. [EmsVer] := EMSVersion
  287. [Errcount] := [Number3]
  288. EndProcedure
  289. ;;
  290.  
  291.